package com.example.demo_mvp.base;

import com.example.demo_mvp.http.ApiService;
import com.example.demo_mvp.http.RetrofitManager;

public class BaseModel {
    //public 所有均可访问 private 只能本类访问 protected 本类以及实现子类访问 默认
    protected ApiService apiService;
    public BaseModel(){
        apiService = RetrofitManager.getInstance().getRetrofit().create(ApiService.class);
    }
}
